import request from './request'


export async function getMovies(data) {
    return await request.post('/api/getMovies',data)
}

export async function addComment(data) {
    return await request.post('/api/addComment',data)
}

export async function searchMovieRating(data) {
    return await request.post('/api/searchMovieRating',data)
}

export async function getTenMovie() {
    return await request.get('/api/getTenMovie')
}